/**
 * @author swiip_mat
 */

/**
 * This logger is full of breaks.
 * Can be usefull for step by step or testing on very poor client.
 * @namespace Archetype.Loggers.AlertLogger
 */
Archetype.Loggers.AlertLogger = {
	initialize:	function() {},

	log: function() {
		var content=$A(arguments).toArray().join(" ");
		alert(content);
	},
	debug: function() {
		var content=$A(arguments).toArray().join(" ");
		alert("[DEBUG] " + content);
	},
	warn: function() {
		var content=$A(arguments).toArray().join(" ");
		alert("[WARN] " + content);
	},
	error: function() {
		var content=$A(arguments).toArray().join(" ");
		alert("[ERROR] " + content);
	},
	fatal: function() {
		var content=$A(arguments).toArray().join(" ");
		alert("[FATAL] " + content);
	}
}